<?php

namespace Wbi\Bundle\SocialBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Wbi\Bundle\SocialBundle\Entity\Sferrorlog
 *
 * @ORM\Table(name="sferrorlog")
 * @ORM\Entity
 */
class Sferrorlog
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \DateTime $errorDate
     *
     * @ORM\Column(name="error_date", type="datetime", nullable=false)
     */
    private $errorDate;

    /**
     * @var string $errorType
     *
     * @ORM\Column(name="error_type", type="string", length=10, nullable=false)
     */
    private $errorType;

    /**
     * @var string $errorText
     *
     * @ORM\Column(name="error_text", type="text", nullable=true)
     */
    private $errorText;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set errorDate
     *
     * @param \DateTime $errorDate
     * @return Sferrorlog
     */
    public function setErrorDate($errorDate)
    {
        $this->errorDate = $errorDate;
    
        return $this;
    }

    /**
     * Get errorDate
     *
     * @return \DateTime 
     */
    public function getErrorDate()
    {
        return $this->errorDate;
    }

    /**
     * Set errorType
     *
     * @param string $errorType
     * @return Sferrorlog
     */
    public function setErrorType($errorType)
    {
        $this->errorType = $errorType;
    
        return $this;
    }

    /**
     * Get errorType
     *
     * @return string 
     */
    public function getErrorType()
    {
        return $this->errorType;
    }

    /**
     * Set errorText
     *
     * @param string $errorText
     * @return Sferrorlog
     */
    public function setErrorText($errorText)
    {
        $this->errorText = $errorText;
    
        return $this;
    }

    /**
     * Get errorText
     *
     * @return string 
     */
    public function getErrorText()
    {
        return $this->errorText;
    }
}